Explicit Binds: Effortless Efficiency with and without Trees

نویسنده

  • Tarmo Uustalu
چکیده

We demonstrate a simple and robust program transformation technique that can improve asymptotic time complexity of datamanipulating programs (e.g., produce a linear-time list reversal function from the obvious quadratic one). In the version of the present paper, it applies to monadic inductive datatypes and can be stated in two flavors, through a datatype representation, with an explicit (“frozen”) bind constructor and a special associated defining clause for the fold function, and in a functional form (generalized Church numerals), with a special definition of the bind function in terms of the build constructor. The technique explicates, systematizes, combines and scales a number of ideas known from the literature, achieving a new level of generality.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Neurocognitive mechanisms underlying the experience of flow.

Recent theoretical and empirical work in cognitive science and neuroscience is brought into contact with the concept of the flow experience. After a brief exposition of brain function, the explicit-implicit distinction is applied to the effortless information processing that is so characteristic of the flow state. The explicit system is associated with the higher cognitive functions of the fron...

متن کامل

Efficiency of Elite Fungicide for Control of Pistachio Gummosis

Several species of Phytophthora cause crown and root rot diseases of herbaceous and woody plants. Crown and root rot of pistachio trees cause significant damages in infected orchards. The effect of foliar application with Elite (fosetyl-Al) in 2 and 2.5 g/l was evaluated in greenhouse experiments. The frequency of mortality, fresh and dry weight of roots and shoots, height, intensity of crown r...

متن کامل

Measuring the Effectiveness of Explicit and Implicit Instruction through Explicit and Implicit Measures

Many studies have examined the effect of different approaches to teaching grammar including explicit and implicit instruction. However, research in this area is limited in a number of respects. One such limitation pertains to the issue of construct validity of the measures, i.e. the knowledge developed through implicit instruction has been measured through instruments which favor th...

متن کامل

The Role of working memory capacity on the learning the relative timing a motor task: Emphasis on implicit and explicit approaches

Abstract The aim of this study was to investigate the role of working memory capacity and errorless and errorful practice on the learning the relative timing was a motor task. 50 Participants based on were selected aged 22±4 years as accessible samples randomly assigned to one of four groups (errorless low working memory capacity, errorful low working memory capacity, errorless high working me...

متن کامل

An Efficient Implementation of Phase Field Method with Explicit Time Integration

The phase field method integrates the Griffith theory and damage mechanics approach to predict crack initiation, propagation, and branching within one framework. No crack tracking topology is needed, and complex crack shapes can be captures without user intervention. In this paper, a detailed description of how the phase field method is implemented with explicit dynamics into LS-DYNA is provide...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012